<?php
/*
# $Id$
#
# Application configuration.
*/

/*
# Global config variables.
# The 'app' namespace has been set aside for all application-specific settings.
#
# List of variables used by the core:
# string app.command.default	= Default command if none is specified in the URL
# string app.command.parameter	= $_REQUEST parameter that stores the command
# string app.command.urlPrefix	= Prefix applied to commands passed via the URL
# string app.dir.controllers	= Abs. path to Folder containing Controller classes
# string app.dir.extensions		= Abs. path to Folder containing extensions
# array  app.dir.ignored		= List of folders that are ignored by iterating
# string app.dir.models			= Abs. path to Folder containing Model classes
# string app.dir.modelManagers	= Abs. path to Folder containing Manager classes
# string app.docRoot			= Abs. path of application's public document root
# string app.domain				= Fully qualifed domain on which app is running
# array  app.extensions			= List of extension names that application uses
# string app.password			= Password to access core Buan interfaces
# string app.urlRoot			= Rel. path from docRoot to application index.php
#
# SECURITY NOTE:
# One of the first things you should do when setting up your site is to change
# the "app.password" setting.
*/
$__pwd = dirname(dirname(__FILE__));
Config::set('app.command.default', '/core');
Config::set('app.command.parameter', 'do');
Config::set('app.command.urlPrefix', '');
Config::set('app.dir.controllers', "{$__pwd}/controllers");
Config::set('app.dir.models', "{$__pwd}/models");
Config::set('app.dir.modelManagers', "{$__pwd}/models/managers");
Config::set('app.dir.extensions', "{$__pwd}/extensions");
Config::set('app.dir.ignored', array('.', '..', '.svn', 'cvs'));
Config::set('app.docRoot', "{$__pwd}/public_html");
Config::set('app.domain', $_SERVER['SERVER_NAME']);
Config::set('app.extensions', array());
Config::set('app.password', 'admin');
Config::set('app.urlRoot', '');
unset($__pwd);

/*
# Database connections.
# You may add any number of database connections using Database::addConnection().
# If you are going to use databases at all, you MUST define one named "default".
#
# See documentation for "Database::addConnection()".
*/

/*
# Model relationships.
# Define all the relationships between your Models here.
#
# Sess documentation for "ModelRelation::define()".
*/
?>